<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			.div1{
				width: 100px;
				height: 100px;
				background-color: red;
				float: right;
			}
			.div2{
				width: 100px;
				height: 100px;
				background-color: blue;
				float: right;
			}
			.div3{
				width: 100px;
				height: 100px;
				background-color: pink;
				float: right;
			}
			.div0{
				clear: right;
				border: 1px solid red;
			}
			.p{
				border: 1px solid green;
				clear: right;
			}
			.clear{
				clear: both;
			}
		</style>
	</head>
	<body>
		<div class="div0">
			<div class="div1"></div>
			<div class="div2"></div>
			<div class="div3"></div>
			<div class="clear">	
			</div>
		</div>
		<p class="p">浮动看看位置</p>
	</body>
</html>
